const tokenKey = "business_access_token";
const cookies = {
  getToken: () => {
    return window.sessionStorage.getItem(tokenKey); //要给返回值
  },
  setToken: (token: string) => {
    window.sessionStorage.setItem(tokenKey, token);
  },
  removeToken: () => {
    window.sessionStorage.removeItem(tokenKey);
  },
};
export default cookies;
